{% extends "base.html" %}

{% block header%}
<title>机器(ID:{{model.id}})任务列表</title>
{% endblock %}

{% block content %}
{% with model_name='ChannelPackage' %}
<script type="text/javascript">
    var request_url = '/pack/channel/channel_package',
        ColumnDefs = [
            {
                "aTargets": [4],
                "sWidth":"22%"
            },
        ];
</script>

{% include 'query/plugins/search_form.html' %}

<div >
	<ul id="nav-list" class="nav nav-tabs" >
			  <li class="active"  >
			  	<a>机器任务列表</a>
			  </li>
	</ul>
	<table id="{{model_name}}_table" class="table table-bordered datatable" data-toolbar='datatable_toolbar' data-group-by-index='[5]'>
		<thead>
		<tr>
			<th>项目</th>
			<th>分支</th>
			<th>渠道(SDK)名称</th>
            <th>平台</th>
            <th>物料名称</th>
			<th>文件名</th>
			<th>版本</th>
			<th>出包时间</th>
		</tr>
		</thead>
		<tbody id="{{model_name}}_area"></tbody>
	</table>
</div>
{% endwith %}
{% endblock %}
